﻿using System.ComponentModel.DataAnnotations.Schema;
using Volo.Abp.Domain.Entities;

namespace CommonManagement
{
    /// <summary>
    /// 空气质量
    /// </summary>
    public class AirQuantity : Entity<int>
    {
        /// <summary>空气质量</summary>
        public string Air { get; set; }

        /// <summary>二氧化氮</summary>
        public int No2 { get; set; }

        /// <summary>一氧化碳</summary>
        public double Co { get; set; }

        /// <summary>PM2.5</summary>
        public int Pm25 { get; set; }

        /// <summary>PM10</summary>
        public int Pm10 { get; set; }

        /// <summary>臭氧</summary>
        public int O3 { get; set; }

        /// <summary>二氧化硫</summary>
        public int So2 { get; set; }

        /// <summary>天气信息</summary>
        [ForeignKey("Id")]
        public Weather Forecast { get; set; }

        private AirQuantity() { }
    }
}